<%@ page language="java"  pageEncoding="UTF-8"%>
<%@ include file="/views/commons/taglibs.jsp" %>
<c:choose>
<c:when test="${!empty dataList && fn:length(dataList) ne 0}">
<div class="article ">
	<h2>		
		<span class="f12 c_f60">提交项目拆解申请需要发放3元红包</span>
	</h2>
	<div class="panel panel-default pro-list">
		<div class="panel-body">
			<table class="table table-hover ">
				<thead>
					<tr>
						<th width="20%">用户昵称</th>
						<th width="40%">个人简介</th>
						<th width="10%">回答问题数</th>
						<th width="20%">免费拆解项目</th>
						<th width="10%">操作</th>
					</tr>
				</thead>
				<tbody>
					<c:forEach var="answerUser" items="${dataList}" varStatus="index">
					<tr>
						<td>${answerUser.userName}</td>
						<td>${answerUser.userIntroduction}</td>
						<td>${answerUser.answerNum}</td>
						<td><a href="<%=path%>/uncheck/analyze/view/${answerUser.projectAnalyzeId}" target="_blank">${answerUser.projectName}</a></td>
						<td><a href="<%=path%>/check/question/toInsert?answerUser=${answerUser.userId}&answerUserName=${answerUser.userName}" target="_blank">提问</a></td>
					</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
	</div>
</div>
<p:pagination pageNo="${paramMap.pageNo}" pageCount="${paramMap.pageCount}" queryFunction="queryAnswerUserList"></p:pagination>
</c:when>
<c:otherwise>
<div class="article ">
	<h2>
		我要提问
		<span class="f12 c_f60">提交项目拆解申请需要发放3元红包</span>
	</h2>
	<div class="panel panel-default pro-list">
		<div class="panel-body">
			<table class="table table-hover ">
				<thead>
					<tr>
						<th width="20%">用户昵称</th>
						<th width="40%">个人简介</th>
						<th width="10%">回答问题数</th>
						<th width="20%">免费拆解项目</th>
						<th width="10%">操作</th>
					</tr>
				</thead>
				<tbody>
					<tr>
						<td colspan="5">暂无数据</td>
					</tr>
				</tbody>
			</table>
		</div>
	</div>
</div>
</c:otherwise>
</c:choose>